﻿using Basic.FlowApplication.Interface;
using Basic.FlowRemoteModel.Application;
using Basic.FlowRemoteModel.Application.Model;
using WeDonekRpc.Client.Interface;

namespace Basic.FlowApplication.RpcEvent
{
    internal class AuditLogEvent : IRpcApiService
    {
        private readonly IAuditLogListService _Service;

        public AuditLogEvent ( IAuditLogListService service )
        {
            this._Service = service;
        }

        public FlowAuditLog GetAuditLog ( GetAuditLog obj )
        {
            return this._Service.Get(obj.LogId);
        }
    }
}
